<%@ Page Title="" Language="C#" MasterPageFile="~/Areas/Admin/Views/Shared/Admin.Master" Inherits="System.Web.Mvc.ViewPage<mesoBoard.Data.BBCode>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

    <% using (Html.BeginForm()) {%>
        <fieldset>
            <legend><%= Html.ThemeImage("pilcrow.png") %> Edit BB Code</legend>
            
            <dl class="form">
                <dt>Tag</dt>
                <dd>
                    <%= Html.TextBox("Tag") %>
                    <%= Html.ValidationMessage("Tag") %>
                </dd>
            
                <dt>Parse</dt>
                <dd>
                    <%= Html.TextArea("Parse", new { cols="50", rows="5", @class="normal"})%>
                    <%= Html.ValidationMessage("Parse") %>
                </dd>
            
                <dt>Pattern</dt>
                <dd>
                    <%= Html.TextArea("Pattern", new { cols="50", rows="3", @class="normal"})%>
                    <%= Html.ValidationMessage("Pattern") %>
                </dd>
                
                <dt>&nbsp;</dt>
                <dd>
                    <%= Html.Hidden("BBCodeID") %>
                    <%= Html.Hidden("Match") %>
                    <%= Html.SubmitButton("SaveChanges", "Save Changes") %>
                </dd>
            </dl>
        </fieldset>
    <% } %>

</asp:Content>

